* {
    margin: 0px;
    padding: 0px;
}
body {
    background: #014130;
    font-family: "Trebuchet MS";
    font-size: 10pt;
    color: #FFFFFF;
}
h1, h2, h3 {
    margin: 0px;
    font-family: "Trebuchet MS";
    color: #FFFFFF;
}
.clear-both
{
    clear: both;
    font-size: 1px;
}
/* Header */
#header {
    width: 100%;
    background-color: #fff;
}

    /* Logo */
    #header #logo {
        width: 1000px;
        height: 115px;
        padding-top: 20px;
        margin: 0px auto;
    }
    #header #logo h1,
    #header #logo h2 {
        margin: 0px;
        line-height: normal;
        text-transform: none;
        font-variant: small-caps;
        font-weight: bold;
        color: #014130;
    }
    #header #logo h1
    {
        font-size: 30pt;
    }
    #header #logo * a {
        text-decoration: none;
        color: #014130;
    }

    /* Primary navigation */
    #header #primary-nav {
        border: 1px solid #014130;
        background: #006448;
    }
    #header #primary-nav #nav {
        width: 1000px;
        margin: 0px auto;
    }
    #header #primary-nav ul {
        float: right;
        display: block;
    }
    #header #primary-nav li {
        display: inline;
    }
    #header #primary-nav li a {
        padding: 10px;
        display: block;
        float: left;
        margin-left: -1px;
        border-left: 1px solid #017858;
        border-right: 1px solid #017858;
        font-size: 12pt;
        font-style: italic;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
    }
    #header #primary-nav li.active a {
        background: #014130;
    }

/* Page */
#page  {
    background-color: #F0F0F0;
    color: #000000;
}

    #page #body {
        width: 1000px;
        padding: 10px 0px;
        margin: 0px auto;
        background-color: #FFFFFF;
    }

    #page #body h1, #page #body h2, #page #body h3 {
        margin: 0px;
        font-family: "Trebuchet MS";
        color: #014130;
    }

    #page #body .item
    {
        margin: 5px;
        padding: 5px;
        background: #F6F4F5;
    }

    #page #body .item h2
    {
        color: #FFFFFF;
        margin: 0px 0px 5px;
        border: 1px solid #014130;
        padding: 5px;
        text-align: center;
        background: #006448;
        font-size: 12pt;
    }

        /* Secondary navigation */
        #page #body #secondary-nav {
            float: left;
            width: 220px;
        }

        #page #body #secondary-nav .item ul {
            list-style-type: none;
        }

        #page #body #secondary-nav .item ul li a {
            color: #000;
            text-decoration: none;
            display: block;
            text-transform: uppercase;
            padding: 10px;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border: 1px solid #F6F4F5;
        }
        #page #body #secondary-nav .item ul li a:hover {
            color: #014130;
            background: #F4F2F3;
            border-color: #CCC;
        }

        /* Content */
        #page #body #content {
            float: left;
            padding: 5px;
            width: 550px;
        }
        /* Sidebar */
        #page #body #sidebar {
            float: right;
            width: 220px;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 12px;
    }


/* Footer */
#footer {
    width: 100%;
    height: 100px;
    padding: 0;
}
    #footer p {
        margin: 0;
        padding: 30px 0px 0px 0px;
        text-align: center;
        line-height: normal;
    }

/** FORMS **/
form dl
{
    width: 460px;
    padding: 10px;
}
form dt
{
    font-weight: bold;
    margin: 10px;
}
form dt label
{
    padding-left: 5px;
    border-left: 2px solid #CCC;
}
form dt label.required
{
    border-color: #CC0000;
}
form dd
{}
form div.error,
form ul.errors li
{
    color: #CC0000;
}
form ul.errors,
form ul.errors li
{
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}
form input,
form textarea,
form option,
form select
{
    font-family: "Trebuchet MS", "Times New Roman", Time, serif;
    font-size: 10pt;
}
form input,
form textarea,
form select
{
    -moz-border-radius: 5px 0px;
    -webkit-border-radius: 5px 0px;
    width: 400px;
    border: 1px solid #CCC;
    padding: 5px;
}
form select
{
    width: 412px;
}
form input:focus,
form textarea:focus,
form select:focus
{
    border: 1px solid #014130;
}
form input[type=submit]
{
    width: 100px;
    display: block;
    margin: 10px auto;
    background: #014130;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    padding: 2px 10px;
    text-transform: uppercase;
    border-width: 0px 1px 1px 0px;
    border-style: solid;
    border-color: #005500;
}
form input[type=submit]:hover
{
    background: #006448;
}
/**
 * Paginator
*/
ul.paginator
{
    text-align: center;
}
ul.paginator li
{
    display: inline;
}
ul.paginator li a
{
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    padding: 2px 5px;
}
ul.paginator li.item a
{
    background: #44AA44;
}
ul.paginator li.current a
{
    background: #005500;
}

ul.paginator li.first a,
ul.paginator li.last a,
ul.paginator li.next a,
ul.paginator li.previous a
{
    color: #005500;
    font-size: 14pt;
}
/**
 * Datagrid
 */
table.datagrid
{
    width: 100%;
}
table.datagrid td,
table.datagrid th
{
    padding: 5px;
}
table.datagrid thead td,
table.datagrid thead th
{
    color: #005500;
    background-color: #EEEEEE;
    border-bottom: 1px solid #005500;
    font-size: 11pt;
    text-transform:  uppercase;
    font-weight: bold;
}
table.datagrid tbody tr.odd td
{
    background: #FFF;
}
table.datagrid tbody tr.even td
{
    background: #F0F0F0;
}
table.datagrid tbody tr:hover td
{
    color: #FFFFFF;
    cursor: default;
    background: #99CC99;
}
.button
{
    color: #888;
    background-color: #FFF;
    border: 1px solid #CCC;
    padding: 4px 10px;
    line-height: 35px;
    font-size: 10pt;
    font-weight: bold;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 5px 5px;
    -moz-border-radius: 5px;
}
.button_add
{
    padding-left: 25px;
    background-image: url(img/add_16x16.png);
}
.button_edit
{
    padding-left: 25px;
    background-image: url(img/edit_16x16.png);
}
.button_delete
{
    padding-left: 25px;
    background-image: url(img/delete_16x16.png);
}
.button_list
{
    padding-left: 25px;
    background-image: url(img/list_16x16.png);
}
.button_userAdd
{
    padding-left: 25px;
    background-image: url(img/userAdd_16x16.png);
}

table.datagrid tbody tr td a.button
{
    float: left;
    background-color: #FFF;
    border: 1px solid #CCC;
    width: 26px;
    height: 26px;
    padding: 0px;
    margin: 0px 2px;
    display: block;
    text-indent: -99999px;
    overflow: hidden;
}

.button:hover,
table.datagrid tbody tr td a.button:hover
{
    background-color: #f6f6f6;
    border-color: #AAA;
}